import axiosApi from './AxiosApi';

export default {
  page(data) {
    return axiosApi({
      method: 'POST',
      url: "/oauth/scheme/page",
      data
    });
  },
  query(data) {
    return axiosApi({
      method: 'POST',
      url: "/oauth/scheme/query",
      data
    });
  },
  typeTree() {
    return axiosApi({
      method: 'GET',
      url: "/oauth/schemeType/tree"
    });
  }
}
